package com.liang.rlock;

/**
 * Created with Intellij IDEA
 *
 * @Auther: liangjy
 * @Date: 2022/01/06/16:57
 * @Description: 获取分布式锁接口
 */
public interface AquiredLockWorker <T>{
    /**
     * 获取锁之后处理具体业务逻辑的方法
     * @return
     * @throws Exception
     */
    T invokeAfterLockAquire() throws Exception;
}
